package com.education.welco.service;

import com.education.welco.pojo.SCatalogWorkSyn;

import java.util.List;

/**
 * 备课查看作业 服务层
 *
 * @author d
 * @date 2020-05-14
 */
public interface ISCatalogWorkSynService {

    /**
     * 查询备课查看作业信息
     *
     * @param id 备课查看作业ID
     * @return 备课查看作业信息
     */
    public SCatalogWorkSyn selectSCatalogWorkSynById(Integer id);

    /**
     * 查询备课查看作业列表
     *
     * @param sCatalogWorkSyn 备课查看作业信息
     * @return 备课查看作业集合
     */
    public List<SCatalogWorkSyn> selectSCatalogWorkSynList(SCatalogWorkSyn sCatalogWorkSyn);

    /**
     * 新增备课查看作业
     *
     * @param sCatalogWorkSyn 备课查看作业信息
     * @return 结果
     */
    public int insertSCatalogWorkSyn(SCatalogWorkSyn sCatalogWorkSyn);

    /**
     * 修改备课查看作业
     *
     * @param sCatalogWorkSyn 备课查看作业信息
     * @return 结果
     */
    public int updateSCatalogWorkSyn(SCatalogWorkSyn sCatalogWorkSyn);

    /**
     * 删除备课查看作业
     *
     * @param catalogId 备课查看作业ID
     * @return 结果
     */
    public int deleteSCatalogWorkSynByCatalogId(Integer catalogId);

    /**
     * 删除备课查看作业信息
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSCatalogWorkSynByIds(String ids);
}